[Rainmeter]
Update=1000
AccurateText=1
ContextTitle=Color Settings
ContextAction=[!ActivateConfig "Bordered2Tears" "ColorSettings.ini"]

[Metadata]
Name=Bordered2Tears- Hard Drive Info
Author=DanDaBear
Information=Hover over 'Total: Free' area to show other drives.(Currently C: to D: and E: to F:)
Version=1.0
License=Creative Commons Attribution-Non-Commercial-Share

[Variables]

@Include=#@#BackColor.inc

BGWidth=200
BGHgt=100

CurrentDrive=C:
CurrentDrive2=E:
Drive1=C:
Drive2=D:
Drive3=E:
Drive4=F:
[;-------------------------- MEASURES --------------------------------]
[MeasureDriveTotal]
Measure=FreeDiskSpace
Drive=#CurrentDrive#
Total=1
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=-1

[MeasureDriveTotal2]
Measure=FreeDiskSpace
Drive=#CurrentDrive2#
Total=1
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=-1

[MeasureDriveFree]
Measure=FreeDiskSpace
Drive=#CurrentDrive#
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=60

[MeasureDriveFree2]
Measure=FreeDiskSpace
Drive=#CurrentDrive2#
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=60

[MeasureDriveUsed]
Measure=FreeDiskSpace
Drive=#CurrentDrive#
InvertMeasure=1
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=60

[MeasureDriveUsed2]
Measure=FreeDiskSpace
Drive=#CurrentDrive2#
InvertMeasure=1
IgnoreRemovable=0
DynamicVariables=1
UpdateDivider=60
[;------------------------ METER BACKGROUNDS -------------------------]
 [BackShape1]
Meter=Shape
X=1
Y=1
Shape=Rectangle 0,0,#BGWidth#,#BGHgt#,16| FillColor #AllOuterColor# | StrokeWidth 1 | Stroke Color #OuterStrokeColor#
DynamicVariables=1

[BackShape2]
Meter=Shape
X=6
Y=6
Shape=Rectangle 0,0,(#BGWidth#-10),(#BGHgt#-10),12 | FillColor #AllBackColor# | StrokeWidth 0
DynamicVariables=1
[;----------------------------- METER 1 ------------------------------]
[MeterDriveCircleBack]
Meter=Roundline
X=10
Y=10
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#DriveBack#
AntiAlias=1
DynamicVariables=1

[MeterDriveCircle]
Meter=Roundline
MeasureName=MeasureDriveUsed
X=10
Y=10
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#TextColor2#
AntiAlias=1
DynamicVariables=1

[MeterDriveCircleLabel]
Meter=String
FontFace=Segoe UI
FontSize=14
FontColor=#TextColor#
X=30
Y=30
StringAlign=CenterCenter
StringStyle=Bold
Percentual=1
AntiAlias=1
Text=#CurrentDrive#
DynamicVariables=1

[MeterDriveBack]
Meter=Image
X=57
Y=12
W=130
H=38
SolidColor=#DriveBack#
MouseOverAction=[!SetVariable CurrentDrive #Drive2#][!UpdateMeasure *][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetVariable CurrentDrive #Drive1#][!UpdateMeasure *][!UpdateMeter *][!Redraw]
DynamicVariables=1

[MeterDriveTotalLabel]
Meter=String
FontFace=Segoe UI
FontSize=11
FontColor=#TextColor#
X=60
Y=11
StringStyle=Bold
StringAlign=Left
AutoScale=1
AntiAlias=1
Text=Total:
DynamicVariables=1

[MeterDriveTotal]
Meter=String
MeasureName=MeasureDriveTotal
FontFace=Segoe UI
FontSize=11
FontColor=#TextColor2#
X=170
Y=11
StringStyle=Bold
StringAlign=Right
AutoScale=1
AntiAlias=1
Text=%1B
DynamicVariables=1

[MeterDriveFreeLabel]
Meter=String
FontFace=Segoe UI
FontSize=11
FontColor=#TextColor#
X=65
Y=28
W=130
H=18
ClipString=1
StringStyle=Bold
AutoScale=1
AntiAlias=1
Text=Free:
DynamicVariables=1

[MeterDriveFree]
Meter=String
MeasureName=MeasureDriveFree
FontFace=Segoe UI
FontSize=11
FontColor=#TextColor2#
X=170
Y=28
StringStyle=Bold
StringAlign=Right
AutoScale=1
AntiAlias=1
Text=%1B
DynamicVariables=1
[;----------------------------- METER 2 ------------------------------]
[MeterDriveCircleBack2]
Meter=Roundline
X=10
Y=53
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#DriveBack#
AntiAlias=1
DynamicVariables=1

[MeterDriveCircle2]
Meter=Roundline
MeasureName=MeasureDriveUsed2
X=10
Y=53
W=40
H=40
StartAngle=(Rad(270))
RotationAngle=(Rad(360))
LineStart=15
LineLength=20
Solid=1
LineColor=#TextColor2#
AntiAlias=1
DynamicVariables=1

[MeterDriveCircleLabel2]
Meter=String
FontFace=Segoe UI
FontSize=14
FontColor=#TextColor#
X=30
Y=73
StringAlign=CenterCenter
StringStyle=Bold
Percentual=1
AntiAlias=1
Text=#CurrentDrive2#
DynamicVariables=1

[MeterDriveBack2]
Meter=Image
X=57
Y=54
W=130
H=38
SolidColor=#DriveBack#
MouseOverAction=[!SetVariable CurrentDrive2 #Drive4#][!UpdateMeasure *][!UpdateMeter *][!Redraw]
MouseLeaveAction=[!SetVariable CurrentDrive2 #Drive3#][!UpdateMeasure *][!UpdateMeter *][!Redraw]
DynamicVariables=1

[MeterDriveTotalLabel2]
Meter=String
FontFace=Segoe UI
FontSize=11
FontColor=#TextColor#
X=60
Y=54
StringStyle=Bold
StringAlign=Left
AutoScale=1
AntiAlias=1
Text=Total:
DynamicVariables=1

[MeterDriveTotal2]
Meter=String
MeasureName=MeasureDriveTotal2
FontFace=Segoe UI
FontSize=11
FontColor=#TextColor2#
X=170
Y=54
StringStyle=Bold
StringAlign=Right
AutoScale=1
AntiAlias=1
Text=%1B
DynamicVariables=1

[MeterDriveFreeLabel2]
Meter=String
FontFace=Segoe UI
FontSize=11
FontColor=#TextColor#
X=65
Y=70
W=130
H=18
ClipString=1
StringStyle=Bold
AutoScale=1
AntiAlias=1
Text=Free:
DynamicVariables=1

[MeterDriveFree2]
Meter=String
MeasureName=MeasureDriveFree2
FontFace=Segoe UI
FontSize=11
FontColor=#TextColor2#
X=170
Y=70
StringStyle=Bold
StringAlign=Right
AutoScale=1
AntiAlias=1
Text=%1B
DynamicVariables=1
